package com.dangdang.sharding.listener.event;

public class UserEvent extends Event {
	private String name;// 姓名

	private String phone;// 手机号

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getPhone() {
		return phone;
	}

	public void setPhone(String phone) {
		this.phone = phone;
	}

	public UserEvent(String name, String phone) {
		super.setSource(this);
		this.name = name;
		this.phone = phone;
	}

	@Override
	public String toString() {
		return "UserEvent [name=" + name + ", phone=" + phone + "]";
	}

}
